package ourMessage;

import java.net.InetAddress;

public class Bye extends Message{
        
        private static final long serialVersionUID = 4849L;
        private String username;
        
        public Bye(String username) {
                super(username);
                this.username=username;
        }

        @Override
        public String toString() {
            
                return "Bye from " + getUsername() ;
        }       

    /**
     * @return the username
     */
    public String getUsername() {
        return username;
    }
}